# build stage
FROM node-env
RUN node -v \
    && npm -v
WORKDIR /app
COPY package*.json ./
COPY *-lock.json ./
COPY *-lock.yaml ./
RUN pnpm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD [ "npm", "run", "start"]